#!/bin/sh
# Copyright (C) 2024-2025 KoudaiPC Computer Technologies Co., Ltd.
# script name: huangdi-setup-env2.sh
# author: david921518@qq.com

# 1. enlarge partition
export loop_device=$(losetup -f)
loop_device=$(losetup -f)
losetup $loop_device /dev/sda2
resize2fs -f $loop_device

# restart system
#poweroff

